package com.service;

import com.entity.RoleEmployee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vo.InterceptorAuthorityVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author aiou
 * @since 2025-06-12
 */
public interface RoleEmployeeService{

    //删除角色员工关系
    boolean removeByRoleId(Integer roleId);

    //根据角色id查询角色员工关系
    List<RoleEmployee> list(Integer roleId);

    //先删除原有角色
    boolean remove(Integer roleId);

    //保存角色员工关系
    boolean save(RoleEmployee roleEmployee);

    //根据用户Id查询所有权限
    List<InterceptorAuthorityVO> interceptorAuthorityList(Integer employeeId);
}
